Move GtkBuildable implementation up before accessibility
authorMatthias Clasen <mclasen@redhat.com>
Mon, 25 Jul 2011 03:04:02 +0000 (23:04 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 25 Jul 2011 03:04:02 +0000 (23:04 -0400)
Just code rearrangement, no other changes.

gtk/gtkiconview.c

index 20da6a3fa20dc6193c1b997e0c935c5394eebbf8..ed531071068977c10a654aaf7570b0b753e2a4ec 100644 (file)
@@ -7040,6 +7040,34 @@ gtk_icon_view_set_reorderable (GtkIconView *icon_view,
   g_object_notify (G_OBJECT (icon_view), "reorderable");
 }
 
+static gboolean
+gtk_icon_view_buildable_custom_tag_start (GtkBuildable  *buildable,
+                                          GtkBuilder    *builder,
+                                          GObject       *child,
+                                          const gchar   *tagname,
+                                          GMarkupParser *parser,
+                                          gpointer      *data)
+{
+  if (parent_buildable_iface->custom_tag_start (buildable, builder, child,
+                                                tagname, parser, data))
+    return TRUE;
+
+  return _gtk_cell_layout_buildable_custom_tag_start (buildable, builder, child,
+                                                      tagname, parser, data);
+}
+
+static void
+gtk_icon_view_buildable_custom_tag_end (GtkBuildable *buildable,
+                                        GtkBuilder   *builder,
+                                        GObject      *child,
+                                        const gchar  *tagname,
+                                        gpointer     *data)
+{
+  if (!_gtk_cell_layout_buildable_custom_tag_end (buildable, builder,
+                                                  child, tagname, data))
+    parent_buildable_iface->custom_tag_end (buildable, builder,
+                                            child, tagname, data);
+}
 
 /* Accessibility Support */
 
@@ -9257,31 +9285,3 @@ gtk_icon_view_accessible_get_type (void)
   return type;
 }
 
-static gboolean
-gtk_icon_view_buildable_custom_tag_start (GtkBuildable  *buildable,
-                                         GtkBuilder    *builder,
-                                         GObject       *child,
-                                         const gchar   *tagname,
-                                         GMarkupParser *parser,
-                                         gpointer      *data)
-{
-  if (parent_buildable_iface->custom_tag_start (buildable, builder, child,
-                                               tagname, parser, data))
-    return TRUE;
-
-  return _gtk_cell_layout_buildable_custom_tag_start (buildable, builder, child,
-                                                     tagname, parser, data);
-}
-
-static void
-gtk_icon_view_buildable_custom_tag_end (GtkBuildable *buildable,
-                                       GtkBuilder   *builder,
-                                       GObject      *child,
-                                       const gchar  *tagname,
-                                       gpointer     *data)
-{
-  if (!_gtk_cell_layout_buildable_custom_tag_end (buildable, builder, 
-                                                 child, tagname, data))
-    parent_buildable_iface->custom_tag_end (buildable, builder, child, tagname,
-                                           data);
-}